package com.ruoyi.bbsAdmin.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 资讯群成员列表对象 bbs_group_member
 * 
 * @author ruoyi
 * @date 2023-11-15
 */
@TableName(value = "bbs_group_member")
public class GroupMember implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 学校ID */
    @Excel(name = "学校ID")
    private Integer schoolId;

    /** 群类型 */
    @Excel(name = "群类型")
    private String groupType;

    /** 用户状态 */
    @Excel(name = "用户状态")
    private Integer memberState;


    /** 用户信息 */
    @Excel(name = "用户信息")
    private String userInfo;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Date createTime;

    /** 更新时间 */
    @Excel(name = "更新时间")
    private Date updateTime;

    public void setId(String id) 
    {
        this.id = id;
    }
    public String getId() 
    {
        return id;
    }

    public void setSchoolId(Integer schoolId) 
    {
        this.schoolId = schoolId;
    }
    public Integer getSchoolId() 
    {
        return schoolId;
    }

    public void setGroupType(String groupType) 
    {
        this.groupType = groupType;
    }
    public String getGroupType() 
    {
        return groupType;
    }

    public void setMemberState(Integer memberState)
    {
        this.memberState = memberState;
    }
    public Integer getMemberState()
    {
        return memberState;
    }

    public void setUserInfo(String userInfo) 
    {
        this.userInfo = userInfo;
    }
    public String getUserInfo() 
    {
        return userInfo;
    }

    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolId", getSchoolId())
            .append("groupType", getGroupType())
            .append("userInfo", getUserInfo())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("memberState", getMemberState())
            .toString();
    }
}
